//
//  MainChatView.h
//  BaiYing_Thinker
//
//  Created by 鹏 朱 on 15/10/29.
//  Copyright (c) 2015年 XKJH. All rights reserved.
//

#import <UIKit/UIKit.h>

@class SHorizontalView;

@interface MainChatView : UIView{
    
    SHorizontalView* svHorizontal;
}

@property(nonatomic, assign) BOOL openAnimator;
@property(nonatomic,assign) BOOL isScrollToBottom;
@property(nonatomic, strong) NSIndexPath *curIndexPath;
@property(nonatomic, strong) NSArray *dataSource;

+(id)createWithFrame:(CGRect)frame ds:(NSMutableArray*)ds;
-(id)initWithFrame:(CGRect)frame ds:(NSMutableArray*)ds;
- (void)reloadData;
- (void)reloadDataAtIndex:(NSUInteger)index;
- (void)reloadDataAtIndexPath:(NSIndexPath *)indexPath;
- (NSIndexPath *)getCurIndexPath;
-(void)setCurIndexPath:(NSIndexPath *)aCurIndexPath openAnimator:(BOOL)openAnimator;

@end
